export default {
  state: {
    userName:'lakeiedward'
  },
  mutations: {
  },
  actions: {
    getUserInfo({commit,state},payload) {
      return new Promise(res => {
        setTimeout(() => {
          res(payload ? payload : state.userName);
        });
      });
    }
  }
};